# coding:utf-8
"""
动态相关测试用例配置
"""
__author__ = 'jiaoshupeng'
import sys
import conf_public
# import conf_setting
from ..parameters.ia_configure import *
uid = account_live[2]

#定义模块
more_set = '更多-设置'

#接口定义
feedback = '/blued/feedback'  #设置-我想让Blued变得更好
explore = '/blued/explore'  #动态顶部banner广告
find_map = '/blued/map?location=%E5%8C%97%E4%BA%AC%E5%B8%82%20'  #地图找人
report_ticktocks = '/blued/report/ticktocks/%s'%conf_public.t_uid #举报动态接口
report_group = '/blued/report/groups/%s'%conf_public.g_uid   #举报群接口
report_user = '/blued/report/users/%s'%conf_public.u_uid
# splash = '/blued/splash'






#post数据
p_feedback = {"contents":"哈哈"}
p_rticktocks = {
	"contents": "动态举报",
	"attachments": [],
	"reason": "2"
}
p_rgroup ={
	"contents": "群组举报",
	"attachments": [],
	"reason": "2"
}

#写case
case_feedback = [feedback, more_set, '设置-我想让Blued变得更好']
case_explore = [explore, '动态广告', '动态热门顶部banner广告']
case_map = [find_map,'地图找人','身边-地图找人']
case_report_ticktocks = [report_ticktocks,'动态举报','举报动态']
case_report_group = [report_group,'群组举报','举报群组']
# case_report_user = [report_user,'举报用户','个人主页举报用户']




#校验数据
blued_code = [
    ['self','',{'code':200}],
]
blued_dj_report = [
    ['self','',{"message": "success"}],
    ['self','',{'code':200}]
]

#配置URL参数